﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Backup.ascx.cs" Inherits="SalesManagement.Controls.List.Backup" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>

<ext:Window ID="winDetails" runat="server" Title="Sao lưu dữ liệu" Icon="PageForward"
    Width="300" Height="250" Frame="true" Modal="true" Hidden="true" Layout="FormLayout" Padding="5">
    <Items>
        <ext:FormPanel ID="FormPanel1" runat="server" BodyBorder="false" Padding="5" Layout="VBoxLayout">
         <Items>
                <ext:FileUploadField ID="FileUploadField1" runat="server" EmptyText="Select file..."
                FieldLabel="File" ButtonText="Chọn file" Note="Ví dụ: *.bak, *.mdf"/>                                           
         </Items>
        </ext:FormPanel>
    </Items>
    <Buttons>
        <ext:Button ID="btnSave" runat="server" Text="Lưu" Icon="Disk">
            <DirectEvents>
            <Click OnEvent="btnSave_Click" />
            </DirectEvents>
        </ext:Button>
        <ext:Button ID="btnCancel" runat="server" Text="Thoát" Icon="Cancel">
            <Listeners>
                <Click Handler="#{winDetails}.hide();" />
            </Listeners>
        </ext:Button>        
    </Buttons>
</ext:Window>